/**
 * Created by zhgk on 2016/9/18 0018.
 */
import {ModuleWithProviders}  from '@angular/core';
import {Routes, RouterModule} from '@angular/router';


const appRoutes: Routes = [
    //重定向路由
    {
        path: '',
        redirectTo: '/login',
        pathMatch: 'full'
    },
];
export const routing: ModuleWithProviders = RouterModule.forRoot(appRoutes);